import Vue from 'vue'
import router from './router'
import ElementUI from "element-ui"
import "element-ui/lib/theme-chalk/index.css";
import './assets/css/global.css'
import './plugins/element'
//引入字体图标库
import './assets/fonts/iconfont.css'

import App from './App'
//引入axios
import axios from 'axios'
//配置路径
axios.defaults.baseURL=`http://127.0.0.1:8888/api/private/v1/`
Vue.prototype.$http = axios
Vue.config.productionTip = false
Vue.use(ElementUI)

new Vue({
  el: '#app',
  router,
  components: {App},
  template: '<App/>'
})
